package com.bolt.report.engine.model;

import com.bolt.report.engine.FillElement;

import java.util.List;

public class DynamicColumn {

    private int  totalColumnSize;

    public List<DynamicCell> cells;

    public int getTotalColumnSize() {
        return totalColumnSize;
    }

    public void setTotalColumnSize(int totalColumnSize) {
        this.totalColumnSize = totalColumnSize;
    }

    public List<DynamicCell> getCells() {
        return cells;
    }

    public void setCells(List<DynamicCell> cells) {
        this.cells = cells;
    }



    public  class DynamicCell{

        private  int levelSpan;

        private  int depthSpan;

        private FillElement element;

        public DynamicCell() {
        }

        public DynamicCell(int levelSpan, int depthSpan, FillElement element) {
            this.levelSpan = levelSpan;
            this.depthSpan = depthSpan;
            this.element = element;
        }

        public int getLevelSpan() {
            return levelSpan;
        }

        public void setLevelSpan(int levelSpan) {
            this.levelSpan = levelSpan;
        }

        public int getDepthSpan() {
            return depthSpan;
        }

        public void setDepthSpan(int depthSpan) {
            this.depthSpan = depthSpan;
        }

        public FillElement getElement() {
            return element;
        }

        public void setElement(FillElement element) {
            this.element = element;
        }
    }

}